package cn.gov.escience.solr.repository;

import java.util.List;

import org.springframework.data.solr.repository.Query;
import org.springframework.data.solr.repository.SolrRepository;

import cn.gov.escience.model.Project;

public interface ProjectRepository extends SolrRepository<Project, String> {

	@Query(value = "?0", filters = { "TYPE_is:项目" })
	List<Project> findByAnyword(String anyword);
}
